All along, Android support for Bluetooth is very confusing, can be said to be a lump of shit. Each version of the protocol stack is different, the earliest use of BlueZ, into the 4.x era, replaced by Google's own bluedroid. Change it, at least wait for it to be done again, results 4.2, 4.3, 4.4 of the bluedroid are all different. This is to me and other non-professional
In Android, the structure of the Bluetooth system is as follows:In this architecture, the bottom-up sequence is the module driver, the Bluetooth protocol stack, the bluetooth.apk, the framework, and various Bluetooth applications. Among them, the kernel of the driver is directly and hardware to deal with, generally by
Abstract: Bluetooth is an open global standard for low-cost wireless data and digital communication.Android is the name of an open-source mobile phone operating system based on the Linux platform announced by Google in November 5, 2007. The platform consists of an operating system, middleware, user interface, and application software, it is claimed to be the first truly open and complete mobile software for mobile terminals. By studying the
Bluetooth Audio transmission protocol. It has no direct relationship with the mobile phone system.HTC G11 supports A2DP. We have tested it in practice.What is Bluetooth 40 + EDR + A2DP supported?
EDR (Enhanced data rate) is the abbreviation of Enhanced rate in
Android bluetooth introduction (iv): a2dp connect Process Analysis
Key words: Bluetooth blueZ A2DP, SINK, sink_connect, sink_disconnect, sink_suspend, sink_resume,Sink_is_connected, sink_get_properties, AUDIO, AUDIOVersion: Based on bluez, Which is earlier than AndroidKernel:Linux/linux3.08System:Android/android4.1.3.4
keywords: bluetooth bluez A2DP, SINK, Sink_connect, Sink_disconnect, Sink_suspend, Sink_resume ,sink_is_connected, Sink_get_properties, AUDIO, DBUSversion: Based on android4.2 previous version BlueZKernel: linux/linux3.08System: android/android4.1.3.4xubin341719 (Welcome reprint, please specify the author, please respect copyright thank you)Welcome to correct mistakes, common learning, common progress!!Andr
(AVDTP)
This protocol defines a/V stream negotiation,
establishment, and transmission procedures. Also specifiedIs the message formats that is exchanged between suchDevices to transport their A/V streams in A/V distributionApplications. 11.1 AVDTP
11.2 AVDTP Some examples of interactions
Advanced AUDIO Distribution Profile (A2DP) 12.1 A2DP
, and call removal;(2) Group ManagementAccess permission requests, distributed configuration, and quick internal Member access.Iii. Network Encapsulation Protocol BNEPBNEP ipvthnetworkencapsulation Protocol network encapsulation Protocol.To exchange information with network devices such as computers, telephones, PDAs, and household appliances integrated with Bluetooth
Bluetooth protocol (2) specifications of the Bluetooth protocolChapter 2 Bluetooth protocol specifications (RF, baseband Link Control, and link management)
The Bluetooth protocol is a
Avdtp_get_configuration
0x04
Obtain the current Sep Configuration
Avdtp_reconfigure
0x05
Reconfigure Sep
Avdtp_open
0x06
After successfully configuring SEP, open the stream
Avdtp_start
0x07
Stream opened: Used to start forming a stream; when the stream is paused: used to form a new stream.
Avdtp_close
0x08
Disable Sep
Avdtp_suspend
0x09
Request Sep to suspend
Avdtp
The Bluetooth configuration file expresses common behaviors through which Bluetooth devices can communicate with other devices. Bluetooth Technology defines a wide range of configuration files and describes many different types of use cases. To use Bluetooth wireless technology, devices must be able to translate specif
The Bluetooth configuration file expresses common behaviors through which Bluetooth devices can communicate with other devices. Bluetooth Technology defines a wide range of configuration files and describes many different types of use cases. To use Bluetooth wireless technology, devices must be able to translate specif
. Telephone Control
TCS-Binary Telephone Control Section.
(1) telephone call
Call Control, call establishment, and call removal;
(2) Group Management
Access permission requests, distributed configuration, and quick internal Member access.
Iii. Network Encapsulation Protocol BNEP
BNEP ipvthnetworkencapsulation Protocol network encapsulation Protocol.To exchange information with network devices such as comput
At startup, it takes some time to fully load and initialize the Bluetooth protocol stack. You can use bth_namedevent_stack_inited to check the protocol stack initialization, which is defined in % _ winceroot %/public/common/SDK/INC/bt_api.h. To open this naming event, you must use
OpeneventFunction.
// Determine whether the
concepts of Bluetooth technology.2. Overview of Bluetooth Technology 2.1 Two types of Bluetooth technology: Basic rate (BR) and low energy (LE)The Bluetooth protocol consists of two technologies: Basic rate (BR) and low energy (LE). Both of these technologies include search
power. At this point, BLE's connection-oriented communication has little additional cost compared to broadcast communications.In the "Bluetooth Protocol Analysis (5) _ble Broadcast Communication related Technical analysis", we have a more comprehensive understanding of BLE broadcast communication, this article will continue to analyze and connection-oriented communication technology, including connection e
channels constitute the underlying module of Bluetooth.2) Interface Layer
It includes the Host Control Interface Layer, Bluetooth unified transmission management, and host control transmission layer.3) protocol layer
This layer includes L2CAP, SDP, and RFCOMM.4) high-end application layer
The top part of the Bluetooth
We have already learned about the principles and circuits of the Bluetooth protocol stack. Now we will introduce the SoC Structure Design for the embedded Bluetooth protocol stack. According to the hardware structure of the above Bluetooth
[DESCRIPTION] in BT2.1 and later versions, the Bluetooth protocol has a new way of simply pairing (simple pairing) in addition to the traditional password pairing (PIN code pairing). This new pairing operation is simpler and more secure. At present, most Bluetooth devices in the market have supported the simple pairing method. From the user's point of view, the t
Development is divided into two parts: On pc and on ARM.
Configuration in linux
Fedora 9
Kernel version 2.6.25
Gcc: 4.0.0
There are always many problems when using a new kernel version for embedded development. 2.6.11 kernel is suitable for embedded development.
First, install the bluez-libs library and bluez-utils tool on the pc.
1. Download bluez-libs and bluez-utils from the official bluez website.
Http://www.bluez.org/download/
I downloaded bluez-libs-3.36 and bluez-utils-3.36.
2. Compile t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.